home *** CD-ROM | disk | FTP | other *** search
- ; Very simple installer script for DITO vocabularies
- ; --------------------------------------------------
-
- (set destname
- (askdir
- (prompt "Where is your vocabulary drawer?")
- (help @askdir-help)
- (default "DITO:vocs")
- )
- )
-
- (set ch
- (askoptions
- (prompt "Wich vocabularies would you like to use?")
- (help @askoptions-help)
- (choices
- "English - German"
- "Spanish - German (new!)"
- "Icelandic - German"
- "Italian - German"
- "Latin - German (more!)"
- )
- (default 255)
- )
- )
-
- (if (bitand ch 1)
- (copyfiles
- (prompt "Copying 'English-German' files")
- (help @copyfiles-help)
- (source "English")
- (dest (tackon destname "English"))
- (all)
- )
- )
-
- (if (bitand ch 2)
- (copyfiles
- (prompt "Copying 'Spanish-German' files")
- (help @copyfiles-help)
- (source "Master")
- (dest (tackon destname "Master"))
- (pattern "Spanisch#?")
- )
- )
- (if (bitand ch 4)
- (copyfiles
- (prompt "Copying 'Icelandic-German' files")
- (help @copyfiles-help)
- (source "Master")
- (dest (tackon destname "Master"))
- (pattern "Isländisch#?")
- )
- )
-
- (if (bitand ch 8)
- (copyfiles
- (prompt "Copying 'Italian-German' files")
- (help @copyfiles-help)
- (source "Italiano")
- (dest (tackon destname "Italiano"))
- (all)
- )
- )
-
- (if (bitand ch 16)
- (copyfiles
- (prompt "Copying 'Latin-German' files")
- (help @copyfiles-help)
- (source "Latinum")
- (dest (tackon destname "Latinum"))
- (all)
- )
- )
-
-